import http from "@/utils/http";
/**
 * @description: 获取朋友圈发布列表
 * @param {*} data
 */
export const linliList = data => {
    return http({
        url: '/backend/Neighborhood/getListApi',
        method: 'POST',
        data,
    })
}
/**
 * @description: 获取朋友圈发布详情
 * @param {*} data
 */
export const linliDetails = data => {
    return http({
        url: '/backend/Neighborhood/getDetailsApi',
        method: 'POST',
        data,
    })
}
/**
 * @description: 删除朋友圈列表
 * @param {*} data
 */
export const dellinli = data => {
    return http({
        url: '/backend/Neighborhood/delNeighborhoodApi',
        method: 'POST',
        data,
    })
}

/**
 * @description: 闲置物品上下架
 * @param {*} data
 */
export const linliUpStatus = data => {
    return http({
        url: '/backend/Neighborhood/delistApi',
        method: 'POST',
        data,
    })
}

/**
 * @description: 删除评论
 * @param {*} data
 */
export const delComment = data => {
    return http({
        url: '/backend/Neighborhood/commentsdelApi',
        method: 'POST',
        data,
    })
}